水晶报表查询 [英] crystal report query

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

问题描述

你好,


我的表.............在sql


srno名称日期每日工资
1 aaaa 1-1-11 70
2 aaaa 2-1-11 80
3 aaaa 3-1-11 50


从水晶报表中的表格中找到最大值....


aaa 2-1-11 80

hello,


my table.............in sql


srno name date dailywages
1 aaaa 1-1-11 70
2 aaaa 2-1-11 80
3 aaaa 3-1-11 50


find maximum value from table in crystal reports like....


aaa 2-1-11 80

推荐答案

您在这里

水晶报告–显示最大日期 [
Here you go

Crystal Reports – Display Max Date[^]


Select * from table where dailywages IN (SELECT MAX(dailywages) from table)



希望您问的是同样的内容,因为Crystal报表在逻辑上找不到那个.这样就可以了.



Hope you were asking about the same, As Crystal report is not logically finding that one. so it SQL does.


使用公式字段u中的查询可以很容易地使用它
use query in formula field u can easily obtain using it


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

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