Ranking Top 2 Students With SPL Script
Scores table used to find top 2 students with highest scores. SPL script connects to database, queries student scores and returns top 2 rankings.
Find scores of students who rank in top 2 based on the following Scores table. SPL script: A1 Connect to the database; A2 Query students’ scores; A3 Get scores of students who rank in top 2. Note: The comma means returning the two values ranking in top 2. Execution result: Open source SPL source address Download