If this is MySQL then this isn't really the right place, this site is for Microsoft SQL Server, but the first question I would ask you are what tools are you using? How did you 'upload a file'?
Most website management systems would give you access to something like PHPMyAdmin or some other web based tool for running queries and managing your MySQL Database. If it's SQL Server, are you using SQL Server Management Studio, or some other software?
When you say you 'uploaded a .sql file' it makes me think that you haven't actually run the code against the database so it is not really saved within your database. Maybe you've uploaded the .sql file to your webserver? (which would do nothing)
MySQL and SQL Server don't store .sql files as part of their schema, you run the SQL script and it then makes changes to the database. For example if you are creating a procedure or function, it will store that object and its definition in the database itself, not as a separate file. Maybe you know that.
It sounds to me like you are struggling with how the tools work, not with the SQL Language.