Questions

2 Marks Each

🎯

Test yourself on this topic

5 questions · timed · auto-graded

Question 12 Marks
Write the SQL statements for the following:

(a) Extract the "net "from the word "Internet ".

(b) Print the month of your date of birth.

View full question & answer
Question 22 Marks
What do you mean by join? Explain the concept of join.
Answer

Join is used to combine records from two or more tables in a database. Equi Join is used to compare the two or more tables with matching values and return the result.

View full question & answer
Question 32 Marks
Write the difference single row and multiple row function.
Answer
Single row function. Single row functions are the one who work on single row and return one output per row.

For example, length and case conversion functions are single row functions.

Multiple row functions work upon group of rows and return one result for the complete set of rows. They are also known as Group Functions. Single row functions.

View full question & answer
Question 42 Marks

What do you mean by Referential Integrity?

Answer
The property of a relational database which ensures that no entry in a foreign key column of a table can be made unless it matches a primary key value in the corresponding column of the related table.
View full question & answer
Question 52 Marks
Write the difference between WHERE and HAVING clause.
Answer

Where clause is used for selecting the rows based on the condition applied on rows. While HAVING clauses used to select the rows from the data given by group by clause in SQL.

View full question & answer
2 Marks Each - Computer Science STD 12 Commerce Questions - Vidyadip