关于Sql查询 [英] About Sql Query

查看:94
本文介绍了关于Sql查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

感谢回复
但是如何将每个城市的酒店列为
我必须将其显示在主页上..

thanks for reply
but how can i list the hotels for each city as
i''ve to display it on a home page..

推荐答案

仅在一个地方关注您的一个问题.这个问题对我们没有任何意义.

似乎您在谈论自己的线程:
http://www.codeproject.com/answers/68638/About-Sql-Query.aspx [^ ]

引用那个线程...
Followup your one question at one place only. This question does not mean anything for us.

Looks like you are talking about this thread of yours:
http://www.codeproject.com/answers/68638/About-Sql-Query.aspx[^]

referring that thread...
ritesh2712写道:
ritesh2712 wrote:

hotelTable,其中包含城市ID并与之相关

hotelTable which contain cityid and related to



有什么问题吗?



Whats the problem?

Select HotelName, cityName 
FROM hotelTable 
Inner Join CityTable 
on HotelTable.CityID=CityTable.CityID



请选择一本好的SQL书籍并阅读.会有所帮助.



Please pick a good SQL book and read. It would help.


如果这是家庭作业,那么您应该向老师寻求帮助.我无法想象还会有什么.
If this is homework then you should talk to your teacher for help. I can''t imagine what else it could be.


这篇关于关于Sql查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆