[Assignments] Simple Queries in SQL — Chapter 12 Assignments (Q/A)

|
Table of Contents

20. Consider the table Student1 of Q14.
Give the output of following SQL statement:

  1. SELECT TRUNCATE(AvgMark) FROM Student1 WHERE AvgMark < 75;
  2. SELECT ROUND(AvgMark) FROM Student1 WHERE Grade = ‘B’;
  3. SELECT CONCAT(Name, Stream) FROM Student1 WHERE Class = ’12A’;
  4. SELECT RIGHT(Stream, 2) FROM Student1;
"Spread the light within, illuminate the hearts around you. Sharing is not just an action, but a sacred journey of connecting souls."~ Anonymous

Leave a Reply

Your email address will not be published. Required fields are marked *