FWIW, I'm currently double majoring in Computer Science and International Relations. As far as i can tell, a majority of the students who plan on going into law stick with Political Science as their major instead of going IR.
Skimming the required courses for the prelaw program my college offers, the requirements for that are much more aligned with what's needed for a polsci degree then an IR degree. Theres only two classes from prelaw that overlaps with the IR requirements and one of em's not even being offered anymore. Also, the polsci half of the department offers scholarships aimed at prelaw students specifically. (Technically Political Science and International Relations are the same department here, though they have pretty different requirements and different people in charge of the programs)
To generalize the courses, polsci is more "American political science meets history meets business with a dash of criminal justice" while IR is more "Global political science meets history with dash of anthro".
Here is a vote for "Database Management Systems" by Ramakrishnan and Gehrke
I learned from this book. I also know a few graduate students who studied databases (or some varient) and they continued to use this book throughout their studies.
(I know nothing of the other book though, so this is a one-sided view)
'R' is used to manipulate data and graphically display the results. I've never used it myself, but I know it's used in my University's Computer Science department.