sql - using distinct command -
using distinct command in sql practice or not? there drawback of distinct command?
it depends entirely on use case is. distinct useful in circumstances, can overused.
the drawbacks increased load on query engine perform sort (since needs compare resultset remove duplicates), , can used mask issue in data - if getting duplicates there may problem source data.
the command isn't inherently or bad. can use screwdriver hammer nail, doesn't mean it's idea, or screwdrivers bad in cases.
Comments
Post a Comment