Questions Related to databases

Multiple choice technology databases
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology databases
  1. This procedure will not compile successfully.

  2. This procedure will print the Userid and fullname of users whose username starts with ‘D’;

  3. This procedure will print just the fullname of the users.

  4. This procedure will print just the userid of the users.

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology databases
  1. This procedure will print the Userid and fullname of users whose username starts with ‘D’;

  2. This procedure will not compile successfully.

  3. This procedure will print just the fullname of the users.

  4. This procedure will print just the userid of the users.

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology databases
  1. a

  2. b

  3. Can't tell

  4. both will perform the same

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology databases
  1. Returns the count of rows grouped by statuses

  2. Error - Incorrect use of COUNT. It has to have a column name.

  3. Error - because of the GROUP BY Clause or Selected columns

  4. Does not return the count, just displays the other two fields.

Reveal answer Fill a bubble to check yourself
C Correct answer