What is SELECT statement in SQL | Most Asked Interview Question | Oracle Database | Why we use It ?

preview_player
Показать описание
In SQL, a SELECT statement is used to retrieve data from one or more tables in a database. The SELECT statement allows you to specify which columns you want to retrieve, as well as any conditions that must be met in order for a row to be included in the result set.

Here is the basic syntax of a SELECT statement: SELECT column 1 comma column 2
FROM table_name
WHERE condition For example, the following SELECT statement retrieves all rows from the "customers" table where the "city" column is "New York": The SELECT statement is an essential part of SQL and is used frequently in database development and data analysis.
most commonly used SQL statement and is used in a wide variety of applications, including
Querying data from a single table or multiple tables
Sorting and filtering data based on specified criteria
Retrieving specific columns from a table or multiple tables
Joining data from multiple tables to create more complex queries
Aggregating data using functions such as SUM, COUNT, and AVG
Generating summary reports and pivot tables SELECT statement is a data manipulation language (DML) statement in SQL. DML statements are used to manipulate data in a database, but do not make any changes to the structure of the database itself
Рекомендации по теме
Комментарии
Автор

Hi ... In workbench using query i first created schema > then i created table .. but table was created in another schema ..! Then i figured it out that... Another schema was set to default schema ....i made my present schema as default(using mouse) and completed my work
But what i want is how to create table in required schema ... Without manually setting it as default... But with query ...??

pareshpatil