Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

5. Describe the visual representations, or models, of communication

Answered: 1 week ago