我有两个表l & C,它们由两个字段l.mID和c.mID链接在一起,c表包含三种类型的记录cs, ls, & vs,在我的查询中,我需要选择l中的所有记录,并且作为查询的一部分,有三列显示cs, ls& vs的总数;SELECT l.*, COUNT(*) FROM l LEFT OUTER JOIN c ON c.mID = l.mID WHERE l.mID
# have a temp reg to calculate the sum of high and low beq $t1, $s2, return # if the arr[mid] is equal to search value, return mid
slt $t2, $t1, $s2 # if