The data returned is stored in a result table, called the result-set.
SQL & Relational Databases
SQL Tutorial
SQL Database
Advertisement
Google AdSense Slot (LEADERBOARD)
Automated High-CTR Ad Rail • Set Publisher ID in config/adsense.php
Data Retrieval
7 min read
•
Chapter 4 of 20
SQL SELECT
The SELECT statement is used to select data from a database: SELECT column1, column2 FROM table_name; or SELECT * FROM table_name;.
Example
<!DOCTYPE html>
<html>
<body style="font-family:monospace;padding:20px;">
<pre>SELECT name, basic_salary FROM employees;</pre>
</body>
</html>
Try it Yourself >>
Opens live sandboxed code editor
Advertisement
Google AdSense Slot (IN-ARTICLE)
Automated High-CTR Ad Rail • Set Publisher ID in config/adsense.php
Community Q&A & Discussion
Verified
No questions yet. Be the first to start the discussion!