1. Home
  2. Informatics Practices

Filters

Found 4 Questions

Set Default
Exams
Subjects
Topics

List of top Informatics Practices Questions on SQL Queries

(i) Write an SQL statement to create a table named PRODUCTS with the following specifications:

Column NameData TypeKey
PIDIntegerPrimary Key
PNameVarchar of size 30
PCatChar of size 15
PriceDecimal Number

(ii) Write an SQL query to increase the price of all items by 100, whose product category is Grocery, in the table PRODUCTS.

  • CBSE Class XII - 2026
  • CBSE Class XII
  • Informatics Practices
  • SQL Queries

Consider the table LIBRARY as given below.

BookIdTitleGenrePrice
101Python BasicsTechnology278
201The Silent PatientFiction340
301Data ScienceTechnology291
401OceansMarine LifeNULL

(I) Which attribute(s) can be considered as the Candidate keys(s)? Justify your answer.

(II) Write an SQL query to insert a new record with the following values: BookId: 501, Title: AI for ALL, Genre: Technology, Price: 589

(III) Write an SQL query to add a new column Author that is a character data type of size 20.

  • CBSE Class XII - 2026
  • CBSE Class XII
  • Informatics Practices
  • SQL Queries

Define the following terms with respect to RDBMS:

a. Domain

b. Tuple

  • CBSE Class XII - 2026
  • CBSE Class XII
  • Informatics Practices
  • SQL Queries

Which of the following is the correct expanded form of DML?

  • CBSE Class XII - 2026
  • CBSE Class XII
  • Informatics Practices
  • SQL Queries
contact us
terms & conditions
Privacy & Policy
© 2026 Patronum Web Private Limited