-- 关联查询
-- select * from Goods_BomItems s,Goods_Bom t where t.GoodsBomId = s.GoodsBomId and t.GoodsBomCode='1042669'

-- 范围查询
-- select * from Goods_Bom where GoodsBomCode in ('','')

-- 模糊查询
-- select * from Goods_Bom where GoodsBomName like '%%'

-- 倒序排序
-- select * from Goods_Bom order by CreateTime DESC;


-- 分组查询
-- SELECT t.GoodsBomName, COUNT(*) from Goods_Bom t
-- group by GoodsBomName

 

-- 子查询

select * from Goods_BomItems
where (GoodsBomId) = {
SELECT * from Goods_Bom
where goo
}

相关文章:

  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2022-01-19
  • 2021-05-02
  • 2021-08-31
猜你喜欢
  • 2021-12-28
  • 2021-11-24
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
相关资源
相似解决方案