sql="select P.*,T.name as Typename from tb_function P inner join tb_Type .sql="select P.*,T.name as Typename from tb_function P inner join tb_Type T on P.Type= T.ID where P.Type="&rs_Type("ID")&" order by P.hit desc"
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/22 15:31:56
sql="select P.*,T.name as Typename from tb_function P inner join tb_Type .sql="select P.*,T.name as Typename from tb_function P inner join tb_Type T on P.Type= T.ID where P.Type="&rs_Type("ID")&" order by P.hit desc"
sql="select P.*,T.name as Typename from tb_function P inner join tb_Type .
sql="select P.*,T.name as Typename from tb_function P inner join tb_Type T on P.Type= T.ID where P.Type="&rs_Type("ID")&" order by P.hit desc"
sql="select P.*,T.name as Typename from tb_function P inner join tb_Type .sql="select P.*,T.name as Typename from tb_function P inner join tb_Type T on P.Type= T.ID where P.Type="&rs_Type("ID")&" order by P.hit desc"
就是一个sql语句.它的意思是:
tb_function表和tb_Type表内连接条件是:P.Type列值等于rs_Type("ID"),按p.hit列倒序.