Introducere în interogarea SQL cu AI
Jasmin Ludolf
Senior Data Science Content Developer





$$
Prompt: Ce date despre clienți avem?
SELECT *
FROM customers;
$$
Prompt: De unde sunt clienții noștri?
SELECT *
FROM customers;
$$
Prompt: Din ce țară este fiecare client?
SELECT name, country
FROM customers;
Prompt: Afișează primele cinci produse din tabela products
SELECT product_name
FROM products
LIMIT 5;
|product_name|
|------------|
|Laptop |
|Desktop |
|Gaming |
|Mouse |
|Keyboard |
Prompt: Afișează numele clienților ca first_name
SELECT name AS first_name
FROM customers;
|first_name|
|----------|
|Madison |
|Giovanni |
|Olivia |
|Brady |
...
$$
$$
$$

Introducere în interogarea SQL cu AI