workshops/slides/sql/sql.md

430 B

SQL baze podataka

Tabele

Tabela

userstable

Baza

  • vise tabela u jednoj bazi
  • pristup preko mreze
  • SQL jezik
  • pozivanje upita iz drugih jezika

SQL

  • SELECT username,password FROM userstable
  • SELECT * FROM userstable
  • SELECT password FROM userstable WHERE username='korisnik1'
  • INSERT INTO userstable (username, password) VALUES (newuser3, pass1)

Bezbednost

  • SQL injection
  • PDO