PHP+MY SQL 公交站点查询系统
1个回答
2018-05-10
展开全部
你没有表让别人怎么给你解答?有数据表的话,这不难,你给我发一下数据表结构
追问
表格在上面补充了.
追答
seect t.route_number,t.site_order,y.site_name from route_stop t, sites y
where t.site_number=y.site_number and t.route_number ='10x'
and t.site_number >= (select site_number from route_stop where route_number='10x' and site_number ='起点')
and t.site_number <= (select site_number from route_stop where route_number='10x' and site_number ='终点')
order by site_order.
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |