Computer Science
Which function is used to display the total number of records from a table in a database?
- Sum(*)
- Total(*)
- Count(*)
- Return(*)
Related Questions
…………… command is used to remove primary key from a table in SQL.
- Update
- Remove
- Alter
- Drop
Which of the following commands will delete the table from MYSQL database ?
- DELETE TABLE
- DROP TABLE
- REMOVE TABLE
- ALTER TABLE
With SQL, how do you select all the records from a table named "Persons", where the value of the column "FirstName" ends with an "a"?
SELECT * FROM Persons WHERE FirstName = 'a';
SELECT * FROM Persons WHERE FirstName LIKE 'a%';
SELECT * FROM Persons WHERE FirstName LIKE '%a';
SELECT * FROM Persons WHERE FirstName = '%a%';
Assertion (A): In hierarchical model, searching for a record is a time-consuming task.
Reasoning (R): Hierarchical model owns to the organization of information/data in a tree-like structure.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.