Вы находитесь на странице: 1из 4

1)Using a SELECT statement show the name of the current database

If we need to just find out db name , we can use show database command.

With select statement we can use, select db_name as [current database]

In oracle we use, V$ view. Select name from v$database;

2) When would you use 'INSERT IGNORE' instead of 'INSERT'?


When we use insert statement to add multiple rows in table and if there is any error occurs during processing, it
will terminate the statement and returns an error and no rows are inserted.

When we use insert ignore, the rows with invalid data are ignored and valid data will get inserted.

3) What is the difference between and Inner join, Left join and Right join?
Inner join finds and return matching data from the 2 tables. there must be matching data in both the tables.

Left join returns all the data from left table and only the match data from both the tables.

Right join returns all the data from right table and only the match data from both the tables.

4) Using a SELECT statement how would you the name find all the tables in the database that
contain the name ‘CAMPAIGN’?

Select table_name from all_tables where table_name='CAMPAIGN';

Select table_name from user_tables where table_name='CAMPAIGN’ ;

5) What is programmatic advertising?


Programmatic advertising is the automated buying and selling of online advertising. This automation makes
transactions efficient and more effective, streamlining the process and consolidating your digital advertising efforts
in one technology platform

6) How would you insert a new record in the table ‘Users’? Use your own name.
Insert into users (id, first name, last name) values (11,'Nikhil','Joshi');
7) With SQL, how do you select all the records from a table named "Campaigns" where the value
of the column "Description" starts with an "T"?

Select * from Campaigns where Description like 'T%’;

8) A user wants to know what zip codes their campaign is targeting. Join tables ‘Campaigns’ and ‘Zip
Codes’ to show which zip codes the below campaigns are targeting. Remember to show if the
campaigns are including or excluding zip codes and order by the campaign id.

Select Campaigns.campaign_id, Campaigns.zipcode_restriction_type, Zipcode.campaign_id, Zipcodes.values from


Campaigns Inner join Zipcodes on Campaigns.campaign_id= Zipcodes.campaign_id order by
Campaigns.campaign_id;

9) What command in terminal gives you information about a specific IP address?

Windows: Ipconfig

Nix's: Ifconfig

10) How would you view and delete a single cookie from the web browser?
1. Open Google Chrome.

2. Click on the three vertical dots to enter your browser’s Settings.

3. Scroll down and click on Advanced.

4. Navigate to the Privacy and Security section and select Site Settings.

5. Click on Cookies.

6. Click on option See All Cookies and Site Data.

7. Use the search bar on the top right and search for the website’s name.

8. Select the website and click on Remove


11) What command-line-tool is used to make an API call?
Curl is a command-line tool for getting or sending files using URL syntax. Since CURL uses libcurl, it supports the
same range of common Internet protocols that libcurl does .

12) Update the table ‘Campaigns’ so Campaign 1393645 is set to target only the US. Remember to set
yourself as the performer.

Login in as your db credentials.

Update Campaigns set geo_restictions= ‘US’ where id= 139365’

13) Why might a client use s2s (server to server) pixel for tracking instead of implementing a
pixel directly on the web page?

In server to server tracking there is no need to resort to last touch attribution because every time a user view your
ads we generate a unique transaction ID which we pass to you as a parameter.
You will take care to pass this parameter back to us when the conversion happens and have the possibility to add a
dynamic conversion value to the server to server operation if needed.

14) What’s the best customer service you’ve ever received? Why?

I’ve bought a wireless JBL headphones from the Croma store but after 8 months of use, the headphones stopped
working. I visited the store with all the valid bills. One of the CSA took the copy of bill and the defective
headphones and she just replaced the defective one with the brand new. So this is by far the best customer service
I’ve ever received.

15) Have you ever dealt with an unreasonable customer? How did you handle it, and how would
You handle it today?

I’ve faced the unreasonable demands of my internal customer. For me the production, quality department is my
internal customer. We have one running application which is used to track the record of all the NOK (not good or
scrapped part) and all the data is stored in the database. With front end, the customer have to confirm all the
details and put their remarks and closed the case for the same. But at that time, the webpage was not available
due to some other issue. They just asked me to resolve this issue with some modification in the interface. As I was
the only responsible for the database and technical side of the application (config) and all, I just told them that this
issue is not from my side and they have to forward this case to the development team as they have to change in
the programming side and they have to add the new features in it.

But as they are internal customer (and we have to solve the customer issue on the top priority) , I took
that case with myself and took the support from the development team to first make the system
running well.. Once the system is up, we aligned with the Production department about the time line for
making all the changes.

For next time I educated the customer about the Process to be followed in such kind of Issues.
16) Can you give me an example of a situation where there were major problems with your
product/service, and you needed to respond without having all the answers yet?

In the past, we have one problem with one of our running database. The database was not operational anymore
and the front end application also stopped working which caused the hamper in production. When I investigated
the cause behind this fault I found someone from the global team had changed one property of the database and
didn’t checked the after effects of the changes. I changed back the property to previous one as I don’t know why
he changed that property and we need to resume the production in very short time.

I made the system up then afterwards we had a complete investigation about the changes and all.

17) See below the following JavaScript pixel implementation. A client complains that they are
not seeing any conversions registered for the action ‘lead3’.
When 2nd Level Support checks the webpage where the pixel is implemented they see the
following error in the console.

Maybe the variable/function is not defined and to use this we need to declare or define the function.

Вам также может понравиться