- Hands-On GUI Programming with C++ and Qt5
- Lee Zhi Eng
- 177字
- 2021-08-27 19:00:18
SELECT
Most of the SQL statements are one-word short and self-explanatory. This statement, for example, is used to select one or more columns from a specific table and to obtain the data from the said columns. Let's check out some of the sample commands that use the SELECT statement.
The following command retrieves all the data of all the columns from the user table:
SELECT * FROM user;
The following command retrieves only the username column from the user table:
SELECT username FROM user;
The following command retrieves the username and password columns from the user table with the condition that the id equals 1:
SELECT username, password FROM user WHERE id = 1;
You can try out these commands by yourself using phpMyAdmin. To do that, click the SQL button located at the top of the menu in phpMyAdmin. After that, you can type the command in the text field below and click Go to execute the query:

https://dev.mysql.com/doc/refman/5.7/en/select.html
- 深度實(shí)踐OpenStack:基于Python的OpenStack組件開(kāi)發(fā)
- 體驗(yàn)設(shè)計(jì)原理:行為、情感和細(xì)節(jié)
- 前端架構(gòu):從入門到微前端
- 網(wǎng)絡(luò)爬蟲(chóng)原理與實(shí)踐:基于C#語(yǔ)言
- iOS應(yīng)用逆向工程(第2版)
- 領(lǐng)域驅(qū)動(dòng)設(shè)計(jì):軟件核心復(fù)雜性應(yīng)對(duì)之道(修訂版)
- Java Fundamentals
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計(jì)原理(第2版)
- SQL Server實(shí)例教程(2008版)
- Apache Solr for Indexing Data
- Python滲透測(cè)試編程技術(shù):方法與實(shí)踐(第2版)
- 程序員面試金典(第6版)
- 計(jì)算機(jī)視覺(jué)實(shí)戰(zhàn):基于TensorFlow 2
- LiveCode Mobile Development Hotshot
- OpenStack Networking Cookbook