jQuery(document).ready(function () {
jQuery('').click(function(e) {
});
jQuery('').change(function (e) {
});
search_event();
edit_event();
let com_offer_save_timer = setInterval(save, 60000);
function search_event()
{
jQuery('').on('input', function(e) {
});
}
function edit_event()
{
}
function calc_row(cl)
{
}
function save()
{
}
function update_event()
{
}
function widget_update(count, total)
{
}
function loading_process(show, text='')
{
}
function delete(id)
{
}
function instock_edit(id, text)
{
}
});
SELECT CASE WHEN SUM(CASE WHEN col1 = 1 THEN 1 END) = 1 THEN 'col1'
WHEN SUM(CASE WHEN col2 = 1 THEN 1 END) = 1 THEN 'col2'
WHEN SUM(CASE WHEN col3 = 1 THEN 1 END) = 1 THEN 'col3'
ELSE 'none'
END where_only_one_1
FROM test;