Jump to content
php.lv forumi

MySQL + apakšpierasījumi


virtualcook

Recommended Posts

Tikai saakot no 4.1 versijaas..

 

Lai gan vairaak vai mazaak visu var norealizeet ar JOINIEM u.c. veidos

 

Piem:

 

SELECT tabula1.kolonna1 FROM tabula2, tabula1 WHERE tabula1.kolonna2 = tabula2.kolonna1 AND tabula2.kolonna2 = '2' AND tabula1.kolonna3 = '1'

Link to comment
Share on other sites

×
×
  • Create New...