Diferències

Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.

Enllaç a la visualització de la comparació

info:cursos:pue:python-pcpp1:m5:1.1 [04/03/2024 09:47] – creat mateinfo:cursos:pue:python-pcpp1:m5:1.1 [04/03/2024 13:54] (actual) – [sqlite3 – reading data (part 1)] mate
Línia 256: Línia 256:
 <code sql>SELECT * FROM table_name;</code> <code sql>SELECT * FROM table_name;</code>
 In the first variant, we decide to read the values saved in only one column. If we'd like to read only the names of the ''tasks'' saved in the tasks table, we could use the following query: In the first variant, we decide to read the values saved in only one column. If we'd like to read only the names of the ''tasks'' saved in the tasks table, we could use the following query:
-<code sql>SELECT name FROM tasks;</sql>+<code sql>SELECT name FROM tasks;</code>
 The second variant allows you to read values from more columns. If we'd like to read the task names and their priorities, we could use the following query: The second variant allows you to read values from more columns. If we'd like to read the task names and their priorities, we could use the following query:
  
  • info/cursos/pue/python-pcpp1/m5/1.1.1709542056.txt.gz
  • Darrera modificació: 06/07/2026 18:29
  • (edició externa)