InterviewSolution
Saved Bookmarks
| 1. |
Write an SQL command to find the numbers of students who are from section A. Please tell the answer |
| Answer» SQL query using COUNT and HAVING clauseConsider a table STUDENT having the following schema:STUDENT (Student_id, Student_Name, ADDRESS, Marks) Student_id is the primary column of STUDENT table.Let FIRST create the table structure with CREATE Command in SQL:CREATE TABLE STUDENT (STUDENT_ID NUMBER (4), STUDENT_NAME VARCHAR2 (20), ADDRESS VARCHAR2 (20), MARKS NUMBER (3), PRIMARY KEY (STUDENT_ID)); | |