The SELECT QUERY is used to select data from the database table. Syntax: In the above SELECT syntax, column1, column2,… are the name of those columns in the table whose data we…
Archives: <span>SQL tutorial</span>
The SQL DISTINCT statement returns unique data from the database table. syntax of the Distinct statement SELECT DISTINCT column1, column2, … FROM table_name; Database Example Consider the student table having the following records: Student_ID First_Name City…
Leave a Comment