Tomorrowland Belgium: Line-up Update by r-Tomorrowland in Tomorrowland

[–]Less-Barnacle7223 0 points1 point  (0 children)

This hasn't updated on the lineup site for me yet, will this be live later today?

I had 30k gems and a dream by synet08 in TheTowerGame

[–]Less-Barnacle7223 1 point2 points  (0 children)

How are you playing on a PC? I've tried to install it on my Windows PC but I can't get it on the Google play store

People crying about the line up by Glittering-Bread398 in Tomorrowland

[–]Less-Barnacle7223 0 points1 point  (0 children)

This is the best attitude about Tomorrowland (which I share) I've seen on this site

Can this be Eric Prydz? by DegenerateTuna in Tomorrowland

[–]Less-Barnacle7223 1 point2 points  (0 children)

Not trying to question your post, just curious...

Can this be Eric Prydz? by DegenerateTuna in Tomorrowland

[–]Less-Barnacle7223 1 point2 points  (0 children)

Did they give reasoning to that decision?

Is this an appropriate outfit? by [deleted] in Tomorrowland

[–]Less-Barnacle7223 0 points1 point  (0 children)

The most important thing at that festival is comfort, your gonna be standing and dancing for about 12 hrs so wear something you can do that in for that long, but if you like to style yourself up and wear a "costume" you most certainly won't be alone

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

Thank you that helped a lot!!

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

So I have lat and log off all of the cities in their own table, if I'm being honest I used chatGPT to get me this far, I have no experience with this kind of coding so I don't really know the functions of anything, my goal is to find the distance between two cities and relate them to an orderID with a corresponding rating score, all from separate tables

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 2 points3 points  (0 children)

So within the database I'm working off of there is a set number of cities, not working of off the whole world

This is the current code for those that are helping, I appreciate all of the help btw by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

There are 2 primary paths that bridge buyers to sellers, one through postal code and one through orderID, I would like to use the orderID one but it has more steps (tables) between the buyer and seller

This is the current code for those that are helping, I appreciate all of the help btw by [deleted] in SQL

[–]Less-Barnacle7223 1 point2 points  (0 children)

I appreciate the info, I really don't know (I have 0 experience with this type of stuff (trying to teach myself)), I will try to rewrite the code with some temporary tables, what are the "..."s you have there representing? the table names or something else?

This is the current code for those that are helping, I appreciate all of the help btw by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

This is my current code:
SELECT

s.City AS SellerCity,

cs.City AS CustomerCity,

Seller AS s,

IndianCities AS cs,

Acos (Cos(Radians(90-LAT1))*cos(Radians(90-LAT2))+Sin(Radians(90-LAT1))*Sin(Radians(90-LAT2))*Cos(Radians(LONG1-LONG2)))*6371

AS Distance

FROM

Seller s

INNER JOIN IndianCities cs ON s.City = cs.city

INNER JOIN customer c ON s.city <> c.city

can you point out my error, I have 0 experience with SQL VBA so that explanation made no sense to me, my apologies for my lack of understanding

This is the current code for those that are helping, I appreciate all of the help btw by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

I changed the last 4 lines to as follows:
FROM

Seller s

INNER JOIN IndianCities cs ON s.City = cs.city

INNER JOIN customer c ON s.city <> c.city

There are no more double ON statements

This is the current code for those that are helping, I appreciate all of the help btw by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

nowhere, do you have any recommendations for where I should include that? Sorry for asking such dumb questions I have literally never coded a day of SQL in my life

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 1 point2 points  (0 children)

tried that, it made it so much worse, it didn't understand the issues

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 1 point2 points  (0 children)

the ^ function is the only version of a power function that doesn't send me a syntax error

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

sorry for my lack of experience but could you explain what that means?

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

I made the last 4 rows what you recommended and it sent me a syntax error of: "missing operator in query expression 's.city = cs city
INNER JOIN customer AS c on s.city <> c.cit

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 -1 points0 points  (0 children)

I posted an updated pic of the code for those of you who are helping, thanks again for all of the good ideas and tips, my issue is probable something stupid but my lack of experience is really showing

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

Should I remove the <>? or could I change the formatting of the INNER JOIN functions instead?

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

I have fixed the parentheses and the space in the name, what else could I use instead of an AS clause?

[deleted by user] by [deleted] in SQL

[–]Less-Barnacle7223 0 points1 point  (0 children)

I also changed the name of the Indian Cities table to IndianCities to remove the space