“Selecione onde” Respostas de código

SQL Selecione onde em

SELECT * FROM table_name WHERE country IN ('SPAIN', 'MEXICO');
VasteMonde

SQL Select Contemply uma Palavra

SELECT * FROM PESSOA WHERE Nome LIKE 'J%';
Smoggy Swiftlet

SQL Selecione onde

SELECT * FROM table_name;
-- Sorting col1 ASCending then col2 DESCending
SELECT col1, col2 FROM table_name ORDER BY col1 ASC, col2 DESC;
-- Filter on col1
SELECT col1, col2 FROM table_name WHERE col1 = 'a value';
-- Containing 'searched'
SELECT col1, col2 FROM table_name WHERE col1 LIKE '%searched%';
-- All different values
SELECT DISTINCT col1 FROM table_name;
-- Simple sum
SELECT col1, sum(col2) FROM table_name GROUP BY col1;
VasteMonde

SQL SELECT

SELECT * FROM TABLE_NAME;
Wicked Wolverine

Selecione onde

Sorting from dev_type names
Combative Chipmunk

Respostas semelhantes a “Selecione onde”

Procure respostas de código populares por idioma

Procurar outros idiomas de código