SQL WHERE - Overview, syntax

          

SQL WHERE - Overview, syntax

SQL WHERE - Introduction and syntax

<<Previous  Next>>  

Explain the SQL WHERE statement. Write SQL syntax for the SQL WHERE statement along with an example.

WHERE: It is used to fetch records that fulfill a specified condition.

Syntax:
SELECT column_name(s) FROM table_name WHERE column_name operator value

Example:
SELECT balance FROM Account WHERE balance > 1000


<<Previous  Next>>
Also read
What are the events recorded in a transaction log?

Answer - The start and end of each transaction......

Describe when checkpoints are created in a transaction log.

Answer - It is created when CHECKPOINT statement is executed.......  

Define Normalization and De- Normalization.

Answer - It is the process of organizing data into related table. To normalize database, we divide database into tables..... 

Define Primary and Unique key.

Answer - The column or columns of the table whose value uniquely identifies each row in the table is called primary key. You can define column as primary key using primary key constraint while you create table..... 



Write your comment - Share Knowledge and Experience


 
Latest placement tests
Latest links
 
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring