Create Cursor T1 (student id, name C (10), the scores of N (1, 2))
Insert Into T1 Values (1, "student 1," 900)
Insert Into T1 Values (2, "student 2," 360)
Insert Into T1 Values (3, "student 3", 800)
Insert Into T1 Values (4, students "4", 630)
Insert Into T1 Values (5, "students 5", 240)
Insert Into T1 Values (6, "students' 6", 90)
Insert Into T1 Values (7, 7 "students", 240)
Insert Into T1 Values (8, "students' 8", 900)
Insert Into T1 Values (480) 9, "9" student,
Insert Into T1 Values (10, students "10", 108)
Browse
* - VFP9.0 (sub-queries)
Select A. *, (Select Count (*) From T1 Where a. B grade & lt;=b. score) As ranking From T1 Order By placing A
Could you tell me the a. * come from A table, look not to understand, but the actual operation is A success
CodePudding user response:
Ever recommend some good articles VFP command skills give me to learn, online are scattered, need to slowly looking forCodePudding user response:
The Select... The From T1 A ...CodePudding user response: