Running head : SQL Discuss what kinds of problems require the persona of the distinct operator (Give one example each of when you would and would not phthisis DISTINCTAnswerThe use of DISTINCT operator eliminates the duplicates set from a crabbed columnExample : When to use DISTINCT keywordA query where the listing of the various products is to be do which were ed .
The product name could be do DISTINCT so that it is non-redundantThe following screenshot shows 999 records as there is broad(a) redundancy for the dataFigure SEQ Figure \ Arabic 1 : Without using unembellished - 999 recordsFigure SEQ Figure \ Arabic 2 : Using Distinct - 38 recordsExample : When not to use DISTINCT keywordDISTINCT cannot be utilize in cases where there is a combination of tables and some set of span tables would be printedThe following screenshot depicts the ed productsFigure SEQ Figure \ ARABIC 3 : Use of Distinct - Eliminates some recordsFigure SEQ Figure \ ARABIC 4 : Without use of Distinct - brings all rowsDiscuss the differences between the GROUP BY command and the BY command . Give examples to illustrate differencesAnswerGROUP BY command is utilise to group the similar column values when an aggregate function such as ADD , withdraw , SUM and others are included in the SQL queryFigure SEQ Figure \ ARABIC 5 : GROUP BY - Used with aggregationBY command is used to sort the column values by the data chip of the column...If you want to get a full es say, order it on our website: BestEssayCheap.com
If you want to get a full essay, visit our page: cheap essay
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.