Running head : SQL Discuss what kinds of problems require the persona of the discrete operator (Give one example each of when you would and would not exercise DISTINCTAnswerThe use of DISTINCT operator eliminates the duplicates set from a fussy 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 full redundancy for the dataFigure SEQ Figure \ Arabic 1 : Without using unadorned - 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 duad 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 utilize to group the similar column values when an aggregate function such as ADD , gauge , 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 scrap of the column...If you want to get a full essay, order it on our website: BestEssayCh! eap.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.