Jump to content
php.lv forumi

Recommended Posts

Posted

Vai kaut ko tadu ir iespejams realizet?

select 1 as col1, 2 as col2, col1+col2 as sumcol1col2

Posted
select @col1 := 1, @col2 := 2, col1+@col2 as sumcol1col2

Jup works, tikai bez sum, jo tur ir "+".

×
×
  • Create New...