¶¥Õâ¸ö Â¥Ö÷µÄSQLÓï¾äÀïÃæÉÙÁ˸öÌõ¼þ лÁË ½â¾öÁË ºÇºÇ ȷʵÊÇÉÙÁ˸öÌõ¼þ select top 12 * from Product where [id] not in (select top 12 [id] from Product) where productid=34,Ó¦¸Ã¿¼ÂÇÖ´ÐÐ˳Ðò¡£ SQL code: select top 12 * from Product where [id] not in (select top 12 [id] from Product) and productid=34
ÎÒµÄÒ»¸öSolutionÀï°üº¬Á½¸öProject£¬Ò»¸öÊÇC#Àà¿â¹¤³Ì£¬Ò»¸öÊÇASP.NETÓ¦Óã¬Á½¸ö¹¤³Ì¶¼ÊÇͨ¹ýLinq to SqlÀ´²Ù×÷Êý¾Ý¿â£¬ÏÖÔÚµÄÎÊÌâÊÇÔÚ¸ø¿Í»§Ê¹ÓõÄʱºò£¬Ã»·¨Áé»îÅäÖÃSql·þÎñÆ÷µÄÐÅÏ¢£¬²éÁËÏ£¬Ê¹ÓÃDe ......