Firebird - 使用查询创建计数ODBC

时间:2010-11-09 16:34:24

标签: database odbc firebird firebird2.5

可以在计数ODBC中插入查询吗?

示例:

选择*来自客户,其中name ='John';

我无法在我的数据库中创建一个视图,我需要在Count ODBC中使该查询与Word一致。

1 个答案:

答案 0 :(得分:0)

您想要计算名为'John'的客户吗?

若然,请使用:

Select count(*) From Customers where name = 'John';