sqlΪʲôһֱ¼ÓÔز»³öÀ´

select count(1) FROM sdi_sap_saphanadb.BIC_AZEX_D092 a 

LEFT JOIN sdi_sap_saphanadb.BIC_AZMD_D022 b

on a.MATNR=b.MATNR

and MTART in ('Z001','Z002')

LEFT JOIN sdi_sap_saphanadb.BIC_AZEX_D022 c 

on b.MATNR = c.MATNR

and c.LFART='ZLF'

WHERE c.WBSTA='C'

image.png

FineReport Form1 ·¢²¼ÓÚ 2024-5-20 14:55
1minÄ¿±ê³¡¾°Îʾí Á¢¼´²ÎÓë
»Ø´ðÎÊÌâ
ÐüÉÍ£º3 F±Ò + Ìí¼ÓÐüÉÍ
Ìáʾ£ºÔö¼ÓÐüÉÍ¡¢ÍêÉÆÎÊÌâ¡¢×·ÎʵȲÙ×÷£¬¿ÉʹÄúµÄÎÊÌâ±»Öö¥£¬²¢ÏòËùÓйØ×¢Õß·¢ËÍ֪ͨ
¹²3»Ø´ð
×î¼Ñ»Ø´ð
0
CovidLv3¸ß¼¶»¥Öú
·¢²¼ÓÚ2024-5-20 14:56

Õâ¸öÊÇÄǸö±íµÄ×ֶΣ¿

image.png

  • Form1 Form1(ÌáÎÊÕß) b±í£¬µ«ÊÇÒÀ¾É³¤
    2024-05-20 14:59 
  • Covid Covid »Ø¸´ Form1(ÌáÎÊÕß) ËùÓеÄÌõ¼þÈ«²¿¸Äµ½whereÀïÃæÈ¥£¨select count(1) FROM sdi_sap_saphanadb.BIC_AZEX_D092 a LEFT JOIN sdi_sap_saphanadb.BIC_AZMD_D022 b on a.MATNR=b.MATNR LEFT JOIN sdi_sap_saphanadb.BIC_AZEX_D022 c on b.MATNR = c.MATNR WHERE c.WBSTA='C' and B.MTART in ('Z001','Z002') and c.LFART='ZLF'£©
    2024-05-20 15:01 
×î¼Ñ»Ø´ð
0
IndustryPaysLv6¼ûÏ°»¥Öú
·¢²¼ÓÚ2024-5-20 14:57£¨±à¼­ÓÚ 2024-5-20 14:59£©

Êý¾ÝÁ¿¹ý´ó»áÒ»Ö±¼ÓÔØ£¬½¨ÒéÓÅ»¯sql²éѯÓï¾ä£»select count(1) FROM a;select count(1) FROM b;select count(1) FROM c;Ïȵ¥¶À²éÒ»ÏÂÿ¸ö±íµÄÊý¾ÝÁ¿£¬ÔÙÈ¥¿´¹ØÁªÌõ¼þÊÇ·ñΨһ£»ÓÐʱ¼äÌõ¼þµÄ¿ÉÒÔÔö¼Ó£¬ÓÅÏȲéѯһ¸öÔÂÊý¾Ý£»

×î¼Ñ»Ø´ð
0
»ªÀòÐÇå·Lv7×ÊÉÖú
·¢²¼ÓÚ2024-5-20 14:58

Êý¾ÝÁËÊÇ·ñºÜ´ó£¿

ÍøÂçÁ¬½ÓÊÇ·ñͨ³©£¿

Ö±½ÓÔÚÊý¾Ý¿âÀïÃæÖ´ÐÐÕâ¶ÎSQLÐèÒª¶à³¤Ê±¼ä£¿

  • Form1 Form1(ÌáÎÊÕß) 200w£¬8w£¬27w£¬Èý¸ö±í·Ö±ðÊÇÕâ¸öÁ¿¼¶µÄ£¬ÔÚÊý¾Ý¿âÀïÃæҲû²é³öÀ´£¬¹À¼Æ¹ØÁªÌõ¼þÓÐÎÊÌ⣬ÐèÒª¼ÌÐøÓÅ»¯ÓÅ»¯
    2024-05-20 15:01 
  • 3¹Ø×¢ÈËÊý
  • 178ä¯ÀÀÈËÊý
  • ×îºó»Ø´ðÓÚ£º2024-5-20 14:59
    ÇëÑ¡Ôñ¹Ø±ÕÎÊÌâµÄÔ­Òò
    È·¶¨ È¡Ïû
    ·µ»Ø¶¥²¿