我发现PostgreSQL类似于运营商的作品有点奇怪。我不小心检查了下面查询中的空间,但对结果感到惊讶。 select 'Device Reprocessing' similar to '%()%' --return true select 'Device Reprocessing' similar to '%()%' --return true select 'DeviceReprocessin
ERROR: structure of query does not match function result type DETAIL: Returned type double precision does not match expected type integer in column 1. CONTEXT: PL/pgSQL function get_analysis1_data(dat
我试图选择公司和日期不同的数据类型/ ID的数据表中的数据。 换句话说,我想company_id, dates_id, daily_val其中wh_calc_id = 344如果相同company_id/dates_id组合不存在其中wh_calc_id = 368。 我松散下面这个例子: Select rows which are not present in other table 这些都是我