Question: High Scorers! Coding Tasks You have been provided with the following: a file named prog.txt at the location /tmp/prog.txt You need to: echo the names

High Scorers!

Coding

Tasks

You have been provided with the following:

a file named prog.txt at the location

/tmp/prog.txt

You need to:

echo the names of top 3 scorers (concatenated first and last names)

Use the following commands: cut, sort, grep

The participant list has some records in a fixed format and has the following structure:

prog.txt: RegID | Name | Sex | EmailID | Score

Sample Input Data

File (/tmp/prog.txt):

2031 | Alexa Andrews | F |

alexa@playmysong.com | 2000

4092 | Beth Barrista | M |

starbucksbeth@berkley.cu | 1850

1113 | Charlie Cabello | M I

shawnmendes@cabello.edu | 2500

2947 Dean Denver | F |

dean.d@jurassic.com | 500

3900 Eddie Ericsson | M I

ericsson@sony.com | 180

3271 Fiona Ferguson | F |

shreksfiona@outlook.com | 86

Sample Output

AlexaAndrews

BethBarrista

CharlieCabello

Give me output code I want answer in sql

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!