我想使用两个表与联接,并给他们一些条件 [英] I want to use two table with join and give some condition to them with

查看:75
本文介绍了我想使用两个表与联接,并给他们一些条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将两个表与join一起使用,并通过
给它们一些条件 其中(()and()and())or()
但是当我使用此代码时,我认为"OR"及其使用方法存在问题
我处理它的另一种方式是使用UNION替换为OR,但没有给我任何东西
请帮助我并提供对我有用的链接或代码,谢谢您.

I want to use two table with join and give some condition to them with
where(()and()and())or()
but when I use this code give nothing to me I think a problem is with "OR" and how to use it
a nother way that I handle it use UNION replace to OR but havn''t give any thing to me
Please help me and give link or code that useful for me thank you

推荐答案

引用 ^ ]此处您可以学习SQL.

希望对您有所帮助:)
Refer This[^] here you can learn the SQL.

hope it helps :)


这可能对您有帮助

http://stackoverflow.com/questions/7340721/how-要在多个表上加入很多条件 [
This may help you

http://stackoverflow.com/questions/7340721/how-to-join-with-many-conditions-on-multiple-tables[^]


参考此链接最适合学习sql

http://www.w3schools.com/sql/sql_join.asp [
refer this link best for learning sql

http://www.w3schools.com/sql/sql_join.asp[^]


这篇关于我想使用两个表与联接,并给他们一些条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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