如何根据condtion访问特定的行 [英] how can u access the specific rows based on condtion

查看:102
本文介绍了如何根据condtion访问特定的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其实我有桌子,但我想根据条件来访问某些行



我的数据库字段:





 [CustomerId] 
,[客户名称]
,[指定]
,[年龄]
,[性别]
,[EmailId]
,[电话]
,[城市]
,[国家]
,[地址]
, [ZipCode]
,[LoanType]
,[BankName]
,[creditscore]
,[status]
,[InterestRate]





这个表包含一些attributes.attribute包含values.my意图是acceess



一些行基于哪里condtion.actally status属性包含一些值






legal
确认
已完成





最后我想访问已完成状态属性以外的行。其中包含



mult iple参数与否。



请帮帮我。

谢谢你

解决方案

< blockquote>我建​​议开始阅读SQL文档: WHERE [ ^ ]


Actually i have table but i want to access some rows based on where condition

my database fields:


[CustomerId]
      ,[CustomerName]
      ,[Designation]
      ,[Age]
      ,[Gender]
      ,[EmailId]
      ,[Phone]
      ,[City]
      ,[Country]
      ,[Address]
      ,[ZipCode]
      ,[LoanType]
      ,[BankName]
      ,[creditscore]
      ,[status]
      ,[InterestRate]



this table contain some attributes.attribute contain values.my intention is acceess

some rows based where condtion.actally status attribute contain some values that is


 New 
 legal 
confirmation 
 completed



Finally i want to access the rows except "completed"status attribute.where contain

multiple parameters or not.

please help me.
thank u

解决方案

I'd suggest to start reading the SQL documentation: WHERE[^]


这篇关于如何根据condtion访问特定的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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