"SQLite SELECT"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 11개는 보이지 않습니다)
3번째 줄: 3번째 줄:


<syntaxhighlight lang='sqlite3' run>
<syntaxhighlight lang='sqlite3' run>
SELECT * FROM employees;
SELECT * FROM employees LIMIT 3;
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang='sqlite3' run>
<syntaxhighlight lang='sqlite3' run>
PRAGMA table_info(employees);
SELECT EmployeeId, LastName, FirstName FROM employees LIMIT 3;
</syntaxhighlight>
<syntaxhighlight lang='sqlite3' run>
SELECT * FROM invoices LIMIT 3;
</syntaxhighlight>
<syntaxhighlight lang='sqlite3' run>
SELECT InvoiceId, CustomerId, InvoiceDate, BillingAddress, BillingCountry FROM invoices WHERE BillingCountry='Spain';
</syntaxhighlight>
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[SQLite PRAGMA TABLE_INFO()]]
* [[SQLite DELETE]]
* [[SQLite DELETE]]
* [[SQLite UPDATE]]
* [[SQLite UPDATE]]

2021년 1월 24일 (일) 12:23 기준 최신판

1 개요[ | ]

SQLite SELECT
SELECT * FROM employees LIMIT 3;
SELECT EmployeeId, LastName, FirstName FROM employees LIMIT 3;
SELECT * FROM invoices LIMIT 3;
SELECT InvoiceId, CustomerId, InvoiceDate, BillingAddress, BillingCountry FROM invoices WHERE BillingCountry='Spain';

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}