12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications மின்னணு தரவு பரிமாற்றம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிக பாதுகாப்பு அமைப்புகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின்னணு செலுத்தல் முறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications திறந்த மூல கருத்துருக்கள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு வடமிடல் Sample Question Papers Study Material - QB365 Set A

Published on: 27/09/2019
Structured Query Language
Download Tamil Nadu 12th Standard Computer Science question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Science Test

1.
How will you include aggregate function on the group created in a table using GROUP BY clause?
2.
Write the syntax of GROUP BY and HAVING clause.
3.
Define Primary Key Constraint.
4.
Write the syntax of ORDER by clause used in SELECT command.
5.
How will search NULL values in a field? Give example.
6.
Differentiate IN and NOT IN keywords.
7.
Differentiate BETWEEN AND NOT BETWEEN keywords.
8.
Define TCL.
9.
List the SQL DML commands.
10.
What are two basic types of DML.
11.
What is the difference between SQL and MYSQL?
12.
13.
Write the difference between table constraint and column constraint?
14.
Differentiate Unique and Primary Key constraint
15.
Write a query that selects all students whose age is less than 18 in order wise.
1.
The HAVING clause can be used along with GROUP BY clause in the SELECT statement to place condition on groups and can include aggregate functions on them. For example to count the number of Male and Female students belonging to Chennai.
SELECT Gender, count(*) FROM Student GROUP BY Gender HAVING Place = 'Chennai',
2.
SELECT < column-names > FROM < table-name > GROUP BY < column-name > HAVING condition];
3.
This constraint declares a field as a Primary key which helps to uniquely identify a record. The primary key does not allow NULL values and therefore a field declared as primary key must have the NOT NULL constraint.
4.
The ORDER BY clause is used as :
SELECT < column-name > [, < columnname >, .... ]
FROM < table-name >ORDER BY < column1 >,< column2 >, ... ASC| DESC ;
5.
The NULL value in a field can be searched in a table using the ISNULL in the WHERE clause. For example to list all the students whose Age contains no value, the command is used as: SELECT * FROM Student WHERE Age IS NULL;
6.
| IN Keyword | NOT IN keyword |
|---|---|
| The IN keyword is used to specify a list of values which must be matched with the record values. In other words it is used to compare a column with more than one value. It is similar to an OR condition. | The NOT IN keyword displays only those records that do not match in the list |
7.
| BETWEEN | NOT BETWEEN |
|---|---|
| The BETWEEN keyword defines a range of values the record must fall into to make the condition true. | The NOT BETWEEN is reverse of the BETWEEN operator where the records not satisfying the condition are displayed. |
8.
Transactional Control Language (TCL) commands are used to manage transactions in the database. These are used to manage the changes made to the data in a table by DML statements.
9.
(i) Insert: Inserts data into a table
(ii) Update: Updates the existing data within a table.
(iii) Delete: Deletes all records from a table, but not the space occupied by them.
10.
The DML is basically of two types:
(i) Procedural DML - Requires a user to specify what data is needed and how to get it.
(ii) Non-Procedural DML - Requires a user to specify what data is needed without specifying how to get it.
11.
| SQL | MYSQL |
| Structured Query Language is a language used for accessing database | MySQL is a database | accessing databases. management system, like SQL Server, Oracle, Informix,postgres,etc. |
| SQL is a DBMS | MySQL is a RDBMS |
12.
13.
| Table Constraints | column constraints |
| Table constraint is apply to a group of one or more columns. | Column constraint can be apply only to individual columns. |
14.
| S.No | Unique Key Constraint | Primary Key Constraint |
|---|---|---|
| (i) | This constraint ensures that no two rows have the same value in the specified columns. | This constraint declares a field as a Primary Key which helps to uniquely identify a record. |
| (ii) | The UNIQUE constraint can be Create applied only to fields that have also been declared as NOT NULL. | The Primary Key does not allow NULL values. |
15.
SELECT * FROM Student WHERE Age <= 18 ORDER BY Name;
12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications களப்பெயர் முறைமை (DNS) Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு எடுத்துக்காட்டுகள் மற்றும் நெறிமுறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications கணினி வலையமைப்பு ஓர் அறிமுகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications PHP-உடன் MySQL-ஐ இணைத்தல் Sample Question Papers Study Material - QB365 Set A
Tamilnadu Stateboard 12th Standard Subjects

Maths

Chemistry

Physics

Biology

Computer Science

Business Maths and Statistics

Economics

Commerce

Accountancy

History

Computer Applications

Biology

Computer Technology

Computer Applications

Computer Science

Business Maths and Statistics

Commerce

Economics

Maths

Chemistry

Physics

Computer Technology

History

Accountancy

Tamil

English

French
Tamilnadu Stateboard Standards