Created
November 10, 2012 13:37
-
-
Save spellancer/4051071 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sSQLL= "SELECT ""Название"" , ""ID"" FROM ""Вид соревнований"" " | |
sSQL= "SELECT ""Место"" , ""Страна"" , ""Вид соревнований"" FROM ""Ведомость"" " | |
oRes=oStatement.executeQuery(sSQLL) | |
oResult=oStatement1.executeQuery(sSQL) | |
Do While oResult.next() | |
Do While oRes.next() | |
if (oResult.getstring(3) = oRes.getstring(2)) and (oResult.getstring(2)="Россия") and (oResult.getstring(1)<=3) and (oRes.getstring(1)="Чемпионат Европы") then | |
i=i+1 | |
End If | |
Loop | |
Loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment