php - how select a table value with different table with where clause in there -
i want ask php queries. want select under select data clause condition in there. in 1st queries have select data in table wjm
condition (date between $a , $b) , kode=$c , user='borongan'
. nah in queries of data. problem want change data kode
wjm
name
in data material
. change need clause again checking kode
value data wjm
check table material
condition select nama kode='the code wjm'
the query have made wjm table this
select * wjm (date between '$date_awal' , '$date_akhir') , kode ='$kode' , uses='borongan' order no asc
and want make select again inside them kode have got query. queries want make this
select nama material kode='the code got wjm'
can that. mean posible that?
wiki
Comments
Post a Comment