我有一个简单的查询.
select id, patient_id, diagnosis from dbo.diabetes_rx_tracker
group by id, patient_id, diagnosis
Run Code Online (Sandbox Code Playgroud)
最常见的诊断代码需要显示在列表顶部并带有计数.
我尝试使用count函数.
但它将每个患者的所有值都返回为1而不是添加.
select id, patient_id, count(diagnosis) from dbo.diabetes_rx_tracker
group by id, patient_id, diagnosis
Run Code Online (Sandbox Code Playgroud)
在编辑我的小组时,我也一直在抛出错误.
任何帮助将不胜感激.谢谢.
如何将这些事件更改为.live()事件处理程序?
我以为我可以只更改$(document).ready(function()... to .... $(document).live(function()以及.keydown和.data到.live但我不能似乎让它工作......请帮助.
$(document).ready(function(){
$('#number').bind('keyup change focus', function(){
var field = this;
timer = setTimeout(function(){runSearch(field);}, 444);});
$('#number').keydown(function(){clearTimeout(timer);});
//url selection by specifics
$('#phone_book tr').data('bgcolor', '#aaf').hover(function(){
var $this = $(this);
var newBgc = $(this).data('bgcolor');
$(this).data('bgcolor', $(this).css('background-color')).css('background-color', newBgc);
});
//url selection by specifics
$("#phone_book tr").click(function(){
var id = $(this).children().first().html();
var type = $(this).parents('table').siblings('div.module_header').html().toLowerCase();
Run Code Online (Sandbox Code Playgroud) 我一直抛出此错误,但是我安装了版本7.1.2。我为什么不能./configure
这是我的错误信息:
checking whether to enable Xdebug support... yes, shared
checking Check for supported PHP versions... configure: error: not supported.
Need a PHP version >= 7.0.0 and < 7.3.0 (found 5.3.10-1ubuntu3.26)
root@precise32:/var/www/xdebug# php -v
PHP 7.1.2-3+deb.sury.org~precise+1 (cli) (built: Feb 22 2017 10:29:40) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.2-3+deb.sury.org~precise+1, Copyright (c) 1999-2017, by Zend Technologies
root@precise32:/var/www/xdebug#
Run Code Online (Sandbox Code Playgroud)
有没有其他人遇到这个问题。我尝试过重新安装php 7.0和其他一些策略。通读一堆类似的不同堆栈问题,但我无法弄清楚。
这意味着我无法继续: make
make install
cp modules/xdebug.so /etc/php.d/xdebug.so
Run Code Online (Sandbox Code Playgroud)