answersLogoWhite

0


Best Answer

select name

from (table name)

where condition

The most fundamental and common elements of a SELECTstatement, namely

  • SELECT
  • FROM
  • WHERE
  • ORDER BY

1.SELECT "column_name" FROM "table_name"

2.SELECT "column_name" FROM "table_name" where "condition"

3.SELECT "column_name1","column_name2"FROM "table_name" where "condition" ORDER BY "column_name"

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

SQL is acronym for structured query language. In database we retrieve data with the help of SQL.SQL commands are of four types DCL , DML, DDL and DRL. Example of DRL (data retrieval language) select * from table-name; .

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the basic structure of SQL Select statement?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Basic structure of SQL?

SQL: Basic structure


What is the basic form of a SQL statement to read data out of a table?

select * from Table 1.SELECT col1,col2,... from Tablename 2.SELECT col1,col2,...from Tablename WHERE condition


How do you do a select statement within a select statement in sql?

A memo is a useful tool to provide a record of communication.


What basic clause in an SQL statement is used to retrieve rows and columns from tables?

The SELECT clause is used to retrieve rows and columns from tables. Ex: Select * from employee


What is the difference between a statement and a clause in SQL?

An SQL statement is a complete set of clauses which returns a value and ends with a semicolon(;) A statement is made up of several clauses Ex: select * from person where f_name='me'; In this ex ' select * from person where f_name='me';' is the statement and select*, from person, where f_name= are the clauses


Which SQL statement is used to extract data from a database?

"SELECT" statement is used to extract the infromation from a database.


Sql statement for retrieving data between two dates in SQL Server?

SELECT aFieldName, someOtherFieldName, yetAnotherFieldName FROM aTableName WHERE fieldNameWithDateInIt BETWEEN date1 and date2


What is the name of a statement written to retrieve specific data from a table?

The name of a statement written to retrieve specific data from a table is a SQL SELECT statement.


What is a SQL update statement?

An SQL Update Statement is one that changes the data of one more records in a table. One could change a complete row, or select which to change. One could find how to do this at WebCheatSheet.


What is a sql sub query?

It is possible to embed a SQL statement within another. When this is done on the WHERE or the HAVING statements, we have a subquery construct. The syntax is as follows: SELECT "column_name1"FROM "table_name1"WHERE "column_name2" [Comparison Operator](SELECT "column_name3"FROM "table_name2"WHERE [Condition])


What keyword in an SQL statement's WHERE clause is used to select rows based on a range of values?

BETWEEN For example: SELECT columnName FROM tableName WHERE columnName BETWEEN '1' AND '20'


What are some basic SQL queries?

Some basic SQL (structured query language) queries are regarding how to be more efficient and productive as you have to have a detailed knowledge of how to use the structure of the database for it to be useful. Queries generally involve basic formatting of the system and how to use it.