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: 22/01/2020
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.
How will you filter the records in a table? Give an example.
3.
Write the syntax of ORDER by clause used in SELECT command.
4.
Differentiate IN and NOT IN keywords.
5.
Write a note on data query language.
6.
Define TCL.
7.
What are two basic types of DML.
8.
Define Data Definition Language.
9.
How will you create database and work with the database? Give example.
10.
List few RDBMS packages.
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.
The WHERE clause is used to filter the records. It helps to extract only those records which satisfy a given condition. For example in the student table, to display the list of students of age18 and above in alphabetical order of their names, the command is given as below:
SELECT * FROM Student WHERE Age>=18 ORDER BY Name;
3.
The ORDER BY clause is used as :
SELECT < column-name > [, < columnname >, .... ]
FROM < table-name >ORDER BY < column1 >,< column2 >, ... ASC| DESC ;
4.
| 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 |
5.
Data query language: The Data Query Language consist of commands used to query or retrieve data from a database. One such SQL command in Data Query Language is
Select - It displays the records from the table.
6.
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.
7.
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.
8.
Functions performed by DDL:
(i) The Data Definition Language (DDL) consist of SQL statements used to define the database structure or schema. It simply deals with descriptions of the database schema and is used to create and modify the structure of database objects in databases
(ii) The DDL provides a set of definitions to specify the storage structure and access methods used by the database system.
9.
To create a database, type the following command in the prompt:
CREATE DATABASE database_name;
For example; To create a database to store the tables:
CREATE DATABASE stud;
(ii) To work with the database, type the following command.
USE DATABASE;
For example ; To use the stud database created, give the command USE stud;
10.
Oracle, MySQL, MS SQL Server, IBM DB2 and Microsoft Access are RDBMS packages.
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