Information Technology · Class 11 Commerce
Ch 3Relational Database Management System — Class 11 Information Technology, concept-first.
Every business and every office runs on facts. The name of a customer, the price of a product, the quantity sold on a particular date, the roll number of a student, or the balance in a bank account — all of these are examples of data.
Key concepts
Hover a concept to preview it and jump to its most relevant Q&A.
Data, Information and Database
Data are raw facts and figures; when data is processed and organised so that it becomes meaningful for decisions, it becomes information.
Start with this concept →Chapter contents
The NCERT structure, section by section. Open a section to see its questions, then read the concept-first solution.
Data, Information and the Need for a Database
Every business and every office runs on facts. The name of a customer, the price of a product, the quantity sold on a particular date, the roll number of a student, or the balance in a bank account —…
DBMS and RDBMS
A Database Management System (DBMS) is software that lets users create, store, organise, retrieve, update and manage the data in a database.
The Relational Model — Relations, Tuples and Attributes
A database model describes the logical structure of a database — how the data is organised and how different pieces of data relate to one another.
Data Types in MySQL
When a table is created, each attribute (column) is given a data type that decides what kind of value it can hold and how much space it takes.
Keys in a Relational Database
A key is an attribute (or a combination of attributes) used to identify tuples in a relation and to link relations together.
Introduction to MySQL and SQL
MySQL is a popular, open-source Relational Database Management System. Being open-source means it is free to download and use, which is one reason it is widely used both for learning and in real websi…
DDL — Creating and Using a Database and Tables
Before storing any data, we must first create a database to hold our tables, then create the tables themselves. These jobs are done with DDL commands.
DML — Inserting, Updating and Deleting Data
Once a table exists, DML commands are used to put data into it, change it and remove it.
Selecting and Filtering Data — SELECT, WHERE and Operators
The SELECT statement is used to read data back from a table, and it is the command used most often. To see every column of every row, use the symbol, which means 'all columns':
Exercises
+−Show 9 questionsHide questions9 questions
- Q1Distinguish between data and information, giving one example of each.Free
- Q2What is a DBMS? State any four functions performed by a DBMS.Free
- Q3Explain any four advantages of a DBMS over the traditional file-based system.Free
- Q4Define the following relational terms: (i) Relation (ii) Tuple (iii) Attribute (iv) Degree.Preview
- Q5Differentiate between the CHAR and VARCHAR data types, and name any two other data types available in MySQL.Preview
- Q6What is a primary key? Why must its value be unique and not left blank?Preview
- Q7Explain the difference between a primary key and a foreign key with a suitable example.Preview
- Q8Multiple choice: An attribute or combination of attributes that uniquely identifies each tuple in a relation is called a ______. (a) foreign…Preview
- Q9What is SQL? Explain the difference between DDL and DML, giving two commands of each.Preview
More questions
+−Show 6 questionsHide questions6 questions
- Example 10Write SQL statements to (i) create a database named 'SchoolDB', (ii) start using it, and (iii) create a table 'Student' with fields RollNo (…Free
- Example 11Write SQL statements to (i) add a new column 'Phone' of type VARCHAR(15) to the Student table, and (ii) display the structure of the Student…Free
- Example 12Write SQL statements to insert two records into the Student table: (i) RollNo 1, Name 'Aarti Behera', Class 'XI-A', Marks 78; (ii) RollNo 2,…Preview
- Example 13Write SQL statements to (i) change the marks of the student with RollNo 1 to 80, and (ii) delete the record of the student with RollNo 2 fro…Preview
- Example 14Write an SQL query to display the Name and Marks of all students of class 'XI-A' whose Marks are greater than 75, from the Student table.Preview
- Example 15Using the Student table, write SQL queries to (i) display the names of all students whose Marks are between 70 and 85, and (ii) display the…Preview