PostgreSQL SELECT statement is used to fetch the data from a database table, which returns data in the form of result table. These result tables are called result-sets.
Syntax:
SELECT column1, column2, columnN FROM table_name;
If you want to fetch all the fields available in the field then you can use the following syntax −
SELECT * FROM table_name;
The following is an example, which would fetch ID, Name and Salary fields of the customers available in CUSTOMERS table −
testdb=# SELECT ID, NAME, SALARY FROM COMPANY ;
Sur cette page du site, vous pouvez voir la vidéo en ligne PostgreSQL - Tutorial 6 -- Select in durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur txt2text 21 février 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 700 fois et il a aimé 31 téléspectateurs. Bon visionnage!