sqlite dinstinc问题
为什么用select name,distinct phone from phone_book就说语法错误,
用select distinct phone,name from phone_book就可以?
没有为什么 distinct 是 select 的修饰符,只能在 select 后直接写 distinct
如果我想得到的结果是name不重复或phone不重复该怎么办?难道不支持?
没看明白,建议你举例说明。
相关问答:
sqlite的空值查询怎么写,能者得分
select * from tt where f1 is null
select * from yourTable where col is null;
SQL code:
sqlite> create table Aoqun (id int primary key,col1 int);
sqlite> ......
SqlServer中这样统计:
select name from sysobjects where xtype='U'
要知道总数的话就简单了:
select count(*) from sysobjects where xtype='U'
Oracle中这样查询:
Sele ......
sqlite中有没有对于数据库大小进行管理的接口?比如,创建数据库的时候指定数据库大小,对数据库进行操作后察看该数据库剩余的可使用的空间大小等。最近看了一下sqlite的相关接口,网上也搜索了下,没有找到有用的资 ......
XML code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx ......
目前在公司的linux pc上有一个SQLite server, 我想用在同个区網底下的win pc去连接SQLite server用ASP進行操作, 请问有办法办到吗? 还是SQLite server无法支持网络连接....找了一个下午
剛 ......